package com.wms.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WmsGoods implements Serializable {
  // 商品id
  @ApiModelProperty("商品id")
  private int id;
  // 商品名称
  @ApiModelProperty("商品名称")
  private String name;
  // 仓库id
  @ApiModelProperty("仓库id")
  private int storage;
  // 类型id
  @ApiModelProperty("类型id")
  private int goodsType;
  // 供应商id
  @ApiModelProperty("供应商id")
  private int suppliers;
  // 数量
  @ApiModelProperty("数量")
  private int count;
  // 生产日期
  @ApiModelProperty("生产日期")
  private LocalDateTime productionTime;
  // 过期日期
  @ApiModelProperty("过期日期")
  private LocalDateTime expiringTime;
  // 入库时间
  @ApiModelProperty("入库时间")
  private LocalDateTime inTime;
  // 状态
  @ApiModelProperty("状态")
  private int status;
  // 备注
  @ApiModelProperty("备注")
  private String remark;
}
